<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>

<%@page import="javax.sql.rowset.CachedRowSet"%>
<%@page import="db.DBUtils"%>
<h1><% out.print("List Users:"); %></h1>

<% 
	CachedRowSet users = DBUtils.execStmt("SELECT * FROM users", null);

	while (users.next()) {
		out.println("Name: " + users.getString("first_name") + " " + users.getString("last_name"));
	}
%> 
